<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::TrackerKCF Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html">TrackerKCF</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="../../d0/dcb/classcv_1_1TrackerKCF-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::TrackerKCF Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="../../d9/df8/group__tracking.html">Tracking API</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p>the KCF (Kernelized Correlation Filter) tracker  
 <a href="../../d2/dff/classcv_1_1TrackerKCF.html#details">More...</a></p>
<p><code>#include &lt;opencv2/tracking.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::TrackerKCF:</div>
<div class="dyncontent">
 <div class="center">
  <img alt="" src="../../d2/dff/classcv_1_1TrackerKCF.png" usemap="#cv::TrackerKCF_map"/>
  <map id="cv::TrackerKCF_map" name="cv::TrackerKCF_map">
<area alt="cv::Tracker" coords="0,0,101,24" href="../../d0/d0a/classcv_1_1Tracker.html" shape="rect" title="Base abstract class for the long-term tracker. "/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dd1/structcv_1_1TrackerKCF_1_1Params.html">Params</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aaae751e34d61dfbdbf28995607641820"><td align="right" class="memItemLeft" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#aaae751e34d61dfbdbf28995607641820">FeatureExtractorCallbackFN</a>) (const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a>, const <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a>, <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;)</td></tr>
<tr class="separator:aaae751e34d61dfbdbf28995607641820"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a97c5b832651524b8e782496b933d45"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#a2a97c5b832651524b8e782496b933d45">MODE</a> { <br/>
  <a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#a2a97c5b832651524b8e782496b933d45af4b7ee26bf522d5990232296a3f0c18e">GRAY</a> = (1 &lt;&lt; 0), 
<br/>
  <a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#a2a97c5b832651524b8e782496b933d45abdd27d54b8b8e5d80e392a1a40c18fe1">CN</a> = (1 &lt;&lt; 1), 
<br/>
  <a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#a2a97c5b832651524b8e782496b933d45a71ad55cb912f219c15e587847c07b0fb">CUSTOM</a> = (1 &lt;&lt; 2)
<br/>
 }<tr class="memdesc:a2a97c5b832651524b8e782496b933d45"><td class="mdescLeft"> </td><td class="mdescRight">Feature type to be used in the tracking grayscale, colornames, compressed color-names The modes available now:  <a href="../../d2/dff/classcv_1_1TrackerKCF.html#a2a97c5b832651524b8e782496b933d45">More...</a><br/></td></tr>
</td></tr>
<tr class="separator:a2a97c5b832651524b8e782496b933d45"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afc69677f498909662ceeb87476b7ebf7"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#afc69677f498909662ceeb87476b7ebf7">~TrackerKCF</a> () <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="separator:afc69677f498909662ceeb87476b7ebf7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a681754fbdd7945e1b29be95f684fcf38"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#a681754fbdd7945e1b29be95f684fcf38">setFeatureExtractor</a> (<a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#aaae751e34d61dfbdbf28995607641820">FeatureExtractorCallbackFN</a> callback, bool pca_func=false)=0</td></tr>
<tr class="separator:a681754fbdd7945e1b29be95f684fcf38"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1Tracker"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1Tracker')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../d0/d0a/classcv_1_1Tracker.html">cv::Tracker</a></td></tr>
<tr class="memitem:a22cb8a580dbbf280ceef21a04463c307 inherit pub_methods_classcv_1_1Tracker"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d0a/classcv_1_1Tracker.html#a22cb8a580dbbf280ceef21a04463c307">~Tracker</a> ()</td></tr>
<tr class="separator:a22cb8a580dbbf280ceef21a04463c307 inherit pub_methods_classcv_1_1Tracker"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7793a7ccf44ad5c3557ea6029a42a198 inherit pub_methods_classcv_1_1Tracker"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d0a/classcv_1_1Tracker.html#a7793a7ccf44ad5c3557ea6029a42a198">init</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> image, const <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &amp;boundingBox)=0</td></tr>
<tr class="memdesc:a7793a7ccf44ad5c3557ea6029a42a198 inherit pub_methods_classcv_1_1Tracker"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the tracker with a known bounding box that surrounded the target.  <a href="../../d0/d0a/classcv_1_1Tracker.html#a7793a7ccf44ad5c3557ea6029a42a198">More...</a><br/></td></tr>
<tr class="separator:a7793a7ccf44ad5c3557ea6029a42a198 inherit pub_methods_classcv_1_1Tracker"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a92d2012f576e6c06eb2e257d110a6529 inherit pub_methods_classcv_1_1Tracker"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d0a/classcv_1_1Tracker.html#a92d2012f576e6c06eb2e257d110a6529">update</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> image, <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &amp;boundingBox)=0</td></tr>
<tr class="memdesc:a92d2012f576e6c06eb2e257d110a6529 inherit pub_methods_classcv_1_1Tracker"><td class="mdescLeft"> </td><td class="mdescRight">Update the tracker, find the new most likely bounding box for the target.  <a href="../../d0/d0a/classcv_1_1Tracker.html#a92d2012f576e6c06eb2e257d110a6529">More...</a><br/></td></tr>
<tr class="separator:a92d2012f576e6c06eb2e257d110a6529 inherit pub_methods_classcv_1_1Tracker"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ac8118d14417fb18a3cc69b9ce21322a4"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html">TrackerKCF</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#ac8118d14417fb18a3cc69b9ce21322a4">create</a> (const <a class="el" href="../../db/dd1/structcv_1_1TrackerKCF_1_1Params.html">TrackerKCF::Params</a> &amp;parameters=<a class="el" href="../../db/dd1/structcv_1_1TrackerKCF_1_1Params.html">TrackerKCF::Params</a>())</td></tr>
<tr class="memdesc:ac8118d14417fb18a3cc69b9ce21322a4"><td class="mdescLeft"> </td><td class="mdescRight">Create KCF tracker instance.  <a href="#ac8118d14417fb18a3cc69b9ce21322a4">More...</a><br/></td></tr>
<tr class="separator:ac8118d14417fb18a3cc69b9ce21322a4"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a76f3fcfb942305d77807bfabf8dec305"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#a76f3fcfb942305d77807bfabf8dec305">TrackerKCF</a> ()</td></tr>
<tr class="separator:a76f3fcfb942305d77807bfabf8dec305"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classcv_1_1Tracker"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcv_1_1Tracker')"><img alt="-" src="../../closed.png"/> Protected Member Functions inherited from <a class="el" href="../../d0/d0a/classcv_1_1Tracker.html">cv::Tracker</a></td></tr>
<tr class="memitem:a5fc97b90636155b2f0c576cfe15b0f4d inherit pro_methods_classcv_1_1Tracker"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d0a/classcv_1_1Tracker.html#a5fc97b90636155b2f0c576cfe15b0f4d">Tracker</a> ()</td></tr>
<tr class="separator:a5fc97b90636155b2f0c576cfe15b0f4d inherit pro_methods_classcv_1_1Tracker"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>the KCF (Kernelized Correlation Filter) tracker </p>
<p>KCF is a novel tracking framework that utilizes properties of circulant matrix to enhance the processing speed. This tracking method is an implementation of <a class="el" href="../../d0/de3/citelist.html#CITEREF_KCF_ECCV">[108]</a> which is extended to KCF with color-names features (<a class="el" href="../../d0/de3/citelist.html#CITEREF_KCF_CN">[51]</a>). The original paper of KCF is available at <a href="http://www.robots.ox.ac.uk/~joao/publications/henriques_tpami2015.pdf">http://www.robots.ox.ac.uk/~joao/publications/henriques_tpami2015.pdf</a> as well as the matlab implementation. For more information about KCF with color-names features, please refer to <a href="http://www.cvl.isy.liu.se/research/objrec/visualtracking/colvistrack/index.html">http://www.cvl.isy.liu.se/research/objrec/visualtracking/colvistrack/index.html</a>. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="aaae751e34d61dfbdbf28995607641820"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaae751e34d61dfbdbf28995607641820">◆ </a></span>FeatureExtractorCallbackFN</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* cv::TrackerKCF::FeatureExtractorCallbackFN) (const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a>, const <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a>, <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;)</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a2a97c5b832651524b8e782496b933d45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a97c5b832651524b8e782496b933d45">◆ </a></span>MODE</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#a2a97c5b832651524b8e782496b933d45">cv::TrackerKCF::MODE</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Feature type to be used in the tracking grayscale, colornames, compressed color-names The modes available now: </p>
<ul>
<li>"GRAY" – Use grayscale values as the feature</li>
<li>"CN" – Color-names feature </li>
</ul>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a2a97c5b832651524b8e782496b933d45af4b7ee26bf522d5990232296a3f0c18e"></a>GRAY </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a2a97c5b832651524b8e782496b933d45abdd27d54b8b8e5d80e392a1a40c18fe1"></a>CN </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a2a97c5b832651524b8e782496b933d45a71ad55cb912f219c15e587847c07b0fb"></a>CUSTOM </td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a76f3fcfb942305d77807bfabf8dec305"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76f3fcfb942305d77807bfabf8dec305">◆ </a></span>TrackerKCF()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cv::TrackerKCF::TrackerKCF </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="afc69677f498909662ceeb87476b7ebf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc69677f498909662ceeb87476b7ebf7">◆ </a></span>~TrackerKCF()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual cv::TrackerKCF::~TrackerKCF </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac8118d14417fb18a3cc69b9ce21322a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8118d14417fb18a3cc69b9ce21322a4">◆ </a></span>create()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html">TrackerKCF</a>&gt; cv::TrackerKCF::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/dd1/structcv_1_1TrackerKCF_1_1Params.html">TrackerKCF::Params</a> &amp; </td>
          <td class="paramname"><em>parameters</em> = <code><a class="el" href="../../db/dd1/structcv_1_1TrackerKCF_1_1Params.html">TrackerKCF::Params</a>()</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.TrackerKCF_create(</td><td class="paramname">[, parameters]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Create KCF tracker instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parameters</td><td>KCF parameters <a class="el" href="../../db/dd1/structcv_1_1TrackerKCF_1_1Params.html">TrackerKCF::Params</a> </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a681754fbdd7945e1b29be95f684fcf38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a681754fbdd7945e1b29be95f684fcf38">◆ </a></span>setFeatureExtractor()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::TrackerKCF::setFeatureExtractor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/dff/classcv_1_1TrackerKCF.html#aaae751e34d61dfbdbf28995607641820">FeatureExtractorCallbackFN</a> </td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>pca_func</em> = <code>false</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/<a class="el" href="../../de/df6/contrib_2modules_2tracking_2include_2opencv2_2tracking_8hpp.html">tracking.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:43 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
